package com.yunduansing.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户岗位表
 * </p>
 *
 * @author yunduansing
 * @since 2020-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_user_post")
@ApiModel(value="UserPostEntity对象", description="用户岗位表")
public class UserPostEntity implements Serializable {

    private static final long serialVersionUID=1L;

    private Integer postId;

    private Integer userId;

    private Boolean status;

    public UserPostEntity(Integer postId,Integer userId,Boolean status){
        this.postId=postId;
        this.status=status;
        this.userId=userId;
    }
}
